< previous page page_77 next page >

Page 77
8160-0077a.gif
Figure 4.4
A combo box on the Employee Information form.
analysis.gifExamples Filename: Employee9.frm
The combo box control will be used quite extensively in your Windows applications. It is a good idea to have the user choose from a list whenever possible instead of typing in data. There is always a possibility of user typos when they have to type.

Combo Box Properties
Table 4.2 lists the properties youll change most often when working with the combo box control.
Table 4.2 Combo Box Control Properties.
PropertyDescription
IntegralHeightSet this property to True if you want Visual Basic to calculate the height for the control based on the current font size.
ItemDataAn internal numeric array that parallels the List array.
ListAn array of the values placed in the combo box control.
NameSet this property to the value you want to use to refer to this control in your code. You should preface the name with the letters cbo.

(table continued on next page)

 
< previous page page_77 next page >

If you like this book, buy it!